package org.opens.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;

@Data
@TableName(value = "edu_course")
@Alias("EduCourse")
public class EduCourse {

    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    @TableField(value = "course_name")
    private String courseName;

    @TableField(value = "scheduled_start_datetime")
    private LocalDateTime scheduledStartDatetime;

    @TableField(value = "scheduled_end_datetime")
    private LocalDateTime scheduledEndDatetime;

}
